import request from "@/utils/service"
import type * as IUser from "./types/index"

/** 修改用户信息 */
export function editUserApi(data: IUser.IEditUserParams) {
  return request<IUser.UserResponseData<any>>({
    url: "/api/v2/user/saveUser",
    method: "put",
    data
  })
}
